<template>
	<view class="reminder-box">
		<view class="item">
			<text class="sp">销售</text>
			<text class="value">{{reminderEntities.saleVos}}</span>个销售合同未审批</text>
		</view>
		<view class="item">
			<text class="sp">采购</text>
			<text class="value">{{reminderEntities.procureVos}}</span>个采购合同未审批</text>
		</view>
		<view class="item">
			<text class="sp">报价</text>
			<text class="value">{{reminderEntities.quoteVos}}</span>个报价未审批</text>
		</view>
		<view class="item">
			<text class="sp">报销</text>
			<text class="value">{{reminderEntities.expenseAccountVos}}</span>个报销未审批</text>
		</view>
		<view class="item">
			<text class="sp">支付</text>
			<text class="value">{{reminderEntities.payVos}}</span>个支付未审批</text>
		</view>
	</view>
</template>

<script>
	import {
		api,
		post
	} from '@/util/api.js'
	export default {
		data() {
			return {
				reminderEntities: [],
			}
		},
		created() {
			this.queryList()
		},
		methods: {
			queryList() {
				post(api.ReminderEntities, {}).then(res => {
					this.reminderEntities = res.data
				})
			}
		}
	}
</script>

<style>
	@import '../../../static/css/Reminder.css';
</style>